home *** CD-ROM | disk | FTP | other *** search
- TABLE OF CONTENTS
-
- EndRun
- EndRun EndRun
-
- NAME
- EndRun
-
- SYNOPSIS
- EndRun [command] - Execute the command given with workbench closed
-
- FUNCTION
- This CLI-only command can be used in the startup-sequence to
- execute the command given after the workbench screen has been
- closed down. If running under 2.0 and the workbench screen has
- not opened yet, it will just execute the command.
-
- INPUTS
- [command] is the command line to be executed. The first
- word in the command will be the load file as passed to LoadSeg().
- If it does not exists, EndRun will just halt.
-
- RESULTS
- The command given is run with the workbench screen closed.
-
- EXAMPLE
- ; startup-sequence for SnakePit
- EndRun SnakePit datafile
- ; Note that we run the snakepit program with the
- ; argument "datafile" which is passed to the program.
-
- NOTES
- If run under 2.0, this may end up doing almost nothing...
-
- The [command] will not have any functioning stdin/stdout.
- stdin/stdout will be connected to NIL:
-
- EndRUN *MUST* have V1.2 or greater kickstart. It also *MUST*
- be executed from a CLI. (It does not check for workbench)
-
- EndRun has a maximum COMMAND name (first word in the command line)
- of 64 characters. It will not work correctly with more.
- The rest of the command line can be as long as you wish.
-
- When the program exits, endrun will just halt. It will go
- into a dead loop. However, applications run with EndRun
- are usually of the type the user uses with a reboot as this
- utility is design for use in startup sequences.
-
-